package com.zhanghu.backendZray.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhanghu.backendZray.pojo.entity.File;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhanghu.backendZray.pojo.request.file.FilePageRequest;
import com.zhanghu.backendZray.pojo.vo.FileVo;

import java.util.List;

/**
 * <p>
 * 文件表 服务类
 * </p>
 *
 * @author zhangdong
 * @since 2024-08-17
 */
public interface FileService extends IService<File> {

    /**
     * 分页查询
     * @param filePageRequest
     * @return
     */
    Page<FileVo> page(FilePageRequest filePageRequest);

    List<FileVo> listByIds(List<Integer> idList);
}
